home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
wildcat
/
todaydor.zip
/
TODAYDOR.DOC
< prev
next >
Wrap
Text File
|
1992-12-19
|
10KB
|
200 lines
TODAYDOR
++++++++
version 3.20, by Michael Conley
released 12/19/92 from the Charlatan's Cabin BBS, Los Angeles, CA.
TODAYDOR is designed to be run as a live DOOR program on Wildcat! 3.x and 2.x
systems which are already running my TODAYBBS program. It allows your users
to look up any day of the year and view a collection of historical facts,
birthdays, etc. If you choose, it will also display the names of any system
users born on the selected date, provided you periodically run a companion
program called BDAYPREP, to create a data file accessible to TODAYDOR.
BDAYPREP.ZIP is NOT included here but is probably available where you got
TODAYDOR, TODAYBBS, or any of my other Wildcat! SysOp utilities.
SETTING UP A DOOR:
==================
The Wildcat! manual and other tutorials have done a fine job of explaining
how to set up a door on your BBS. Therefore I won't re-invent the wheel by
going through all of the directory naming and batch file creating necessary
to execute TODAYDOR.
It's important to note that TODAYDOR will check the CURRENT directory (where
your DOOR program is started) for either DOOR.SYS or CALLINFO.BBS. Wildcat!
version 3.x creates DOOR.SYS; earlier versions created CALLINFO.BBS. On my
system, I have a directory called DOORS, and my batch file copies DOOR.SYS
into that directory, then change to that directory, then start TODAYDOR.
TODAYDOR also needs ENVIRONMENT VARIABLES: These are used by Wildcat! 3.x
and will be ignored by Wildcat! 2.x, but they MUST be present for each node
of your Wildcat! system in order for TODAYDOR to function properly:
SET WCPORTID=2 < put these lines in your Wildcat! startup batch file and
SET WCIRQID=3 < check to be sure they are added to your environment.
If you have a non-standard port address, you'll need to provide an additional
environment variable with the DECIMAL port address:
SET COMBASE=1016 << substitute your correct decimal port address here.
That will override the default address of the port number specified in
WCPORTID. WCIRQID will still need to be set to the correct interrupt
value. TODAYDOR supports IRQs 2-15.
A sample batch file for Wildcat! version 3.x would look something like this:
REM this is a sample batch file for TODAYDOR with Wildcat! 3.x
REM this assumes you SHELL to your doors. If you TERMINATE, you
REM need to add a change-directory back to your startup directory
REM and then run your startup batch file.
ECHO OFF
COPY C:\WC30\WCWORK\NODE%WCNODEID%\DOOR.SYS C:\WC30\DOORS\DOOR.SYS
CD C:\WC30\DOORS
TODAYDOR
EXIT
A sample batch file for Wildcat! version 2.x would look something like this:
REM this is a sample batch file for TODAYDOR with Wildcat! 2.x
ECHO OFF
CD \DOORS
COPY C:\CAT\NODE1\CALLINFO.BBS C:\DOORS\CALLINFO.BBS
TODAYDOR
CD \CAT\NODE1
NODE1.BAT
Note that TODAYDOR monitors time online and Carrier Detect, and will close
and exit gracefully back to the node if the caller drops offline while in
the door.
PREPARING TODAYDOR:
===================
It's necessary to create a configuration file for TODAYDOR, named TODAYDOR.CFG,
which must reside in the directory where you'll start TODAYDOR. Hers is a
sample configuration file:
BBSNAME=The Charlatan's Cabin BBS
CTSCHECK=YES
FOSSIL=NO
TODAY=C:\TODAY\
You may edit this file as desired, following these guidelines:
BBSNAME= the name of your BBS as you want it to appear in
the program's displays.
CTSCHECK= Indicate YES or NO ... do you want the program to
check for Clear to Send? Default is YES if this
line isn't found.
FOSSIL= Indicate YES or NO ... do you want the program to
redirect COM calls to INT 14h? If you're not using
a FOSSIL driver, set this to NO.
TODAY= the complete Path to your TODAY.xxx files, where the
monthly data is stored. To run TODAYDOR, you'll need
data for each month of the year. See the DOC file for
details on downloading these files.
User birthday data will be read from this same directory,
if you use BDAYPREP to create "TODAY.BIR" in this directory.
NOTE that if you DON'T want user birthdays included in the
display, you simply DON'T CREATE the TODAY.BIR file in the
directory with your other TODAY data files and TODAYDOR will
skip over that step.
HISTORICAL DATA:
================
TODAYDOR uses the same historical data files used by TODAYBBS. The files
are maintained by Bruce Goldsmith and are available from the Charlatan's Cabin.
There are 6 files, called DAY9xx-#.ZIP, where the 9xx is the series number,
currently 905, and the # is the file number, 1 through 6. Each contains two
months' worth of data ... File "DAY907-2.ZIP" for example, contains MARCH and
APRIL. All files are available at the Cabin (213) 654-7337. There is no charge
for access, and these files can be downloaded without joining the BBS. You must,
of course, unZIP the files and place them in the directory you named in the
configuration file.
LOCAL SYSTEM FILE:
==================
TODAYDOR will search for a file in your TODAY datafiles directory named
TODAY.LCL. If found, it will read the file and incorporate any qualifying
entries in the output for the selected date. This will appear before the
main data entries.
USER BIRTHDAYS:
===============
Wildcat! user birthdays can be extracted to a file called TODAY.BIR by using
the program BDAYPREP.EXE. BDAYPREP will extract user birthdays from Wildcat!
2.x and 3.x data files. TODAY.BIR must be placed in the same directory
with your other TODAY.xxx data files. If you don't already have BDAYPREP,
you can obtain it from the Cabin. See above.
Run BDAYPREP during your daily maintenance (or some less frequent interval, but
often enough to update new users' birthdays). Start BDAYPREP in the directory
where your user database file is located, and give it the output pathname on the
command line ... something like this:
CD C:\WC30
BDAYPREP C:\TODAY\
------------------------------------------------------------------
PROBLEMS, SUGGESTIONS:
This program is public domain. I don't seek or accept any donations for
this or any of my other Wildcat! utility programs, including TODAYBBS,
FLOP, MSTAT, USTAT, and others.
I welcome suggestions, and will try to help (no guarantees) if there are
problems.
You may contact me at The Charlatan's Cabin BBS (213) 654-7337. Mention
your Wildcat! registration number in the comment and you'll be upgraded to
visiting sysop level without the usually required registration by mail.
You may also leave a message via CompuServe EMail. My CompuServe account
number is 70250,220. I also regularly check the Mustang Software head-
quarters BBS, especially the "3rd Party Utilities Help" conference.
Please, NO VOICE CALLS. This isn't meant to be unfriendly, but with the
price of public domain software these days ... I just can't afford to be
"on call." I WILL respond to your questions via my BBS or CompuServe,
or via the Mustang Software registered SysOp BBS.
Version history:
3.00 11/16/91 First release compatible with Wildcat! 3.x as well
as Wildcat! 2.x
3.01 11/22/91 Minor update ... added parsing to display time left
on sysop window at bottom of screen for systems
using DOOR.SYS
3.02 11/24/91 Added support for non-standard port addresses.
3.03 12/08/91 Minor bug fix to handle backspace from remote when
input line is empty.
3.04 01/19/92 Fixed local console display when display line was
to be erased in local mode.
3.05 (not released)
3.06 02/07/92 Recompiled with QBSerial 2.1 by Jeff Sumberg, more
reliable on a multi-tasking machine.
3.07 03/30/92 Added auto-detection of file YEAR order, re-sequence
if required so that newest years appear first in the
display. Note: This is not a FULL sort, but rather
a check whether the order is ascending or descending,
with the output sequence reversed if the years ascend
in the file.
3.10 06/15/92 Recompiled with QBSerial 2.2 by Jeff Sumberg, adding
support for high IRQs. Also fixed a bug which could
"leak" header information on some long text from the
TODAY.xxx file.
3.11 07/05/92 Recompiled with QBSerial 2.25 by Jeff Sumberg.
3.12 07/28/92 Fixed possible range overrun if data file contained
too many entries for a particular date.
3.13 11/04/92 Fixed line-wrap if tabs were encountered in the file
instead of expected spaces.
3.20 12/19/92 Added FOSSIL support with QBSerial 3.00 by Jeff
Sumberg. Requires configuration file update.